//
//  SupervisionBaseInfoController.m
//  homeland
//
//  Created by Alawn on 13-10-20.
//  Copyright (c) 2013年 xzysun. All rights reserved.
//

#import "SupervisionBaseInfoController.h"
#import "UIColor+expanded.h"
@interface SupervisionBaseInfoController ()

@end

@implementation SupervisionBaseInfoController
@synthesize _dataitem;
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    self.txtTitle.text=self._dataitem.title;
    self.txtDealCode.text=self._dataitem.dealCode;
    self.txtuserName.text=[NSString stringWithFormat:@"%@",self._dataitem.userName];
    self.txtdealTime.text=[NSString stringWithFormat:@"%@",self._dataitem.dealTime];
     self.txtcomplainContent.text=[NSString stringWithFormat:@"%@",self._dataitem.complainContent];
    
    self.imgGroup1.backgroundColor=[UIColor colorWithHexString:@"e2e2e2"];
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
